package com.ewzj.bigdata.di.module

import com.ewzj.bigdata.mvp.contract.SplashContract
import com.ewzj.bigdata.mvp.model.SplashModel
import com.jess.arms.di.scope.ActivityScope
import dagger.Module
import dagger.Provides
import javax.inject.Inject

/**
 * author:zhangjing
 * 作用:
 * return:
 */
@ActivityScope
@Module
class SplashModule @Inject constructor(val view: SplashContract.View){
    @ActivityScope
    @Provides
    fun provideView():SplashContract.View{
        return this.view
    }
    @ActivityScope
    @Provides
    fun provideModel(model: SplashModel):SplashContract.Model{
        return  model
    }

}